package com.sgcc.manager.sql.helper;

import javax.servlet.http.HttpServletRequest;

public interface ISqlComponent {
	/***
	 * 用于更新语句
	 * UPDATE,DELETE
	 * @date 2015-2-9 下午03:36:41
	 */
	public int update(String sql,HttpServletRequest requestClient);
	/***
	 * 提交
	 * @date 2015-2-10 下午04:18:51
	 * @param requestClient
	 * @return
	 *
	 */
	public int commit(HttpServletRequest requestClient);
	/***
	 * 回退
	 * @date 2015-2-10 下午04:18:51
	 * @param requestClient
	 * @return
	 *
	 */
	public int rollback(HttpServletRequest requestClient);
	
	public int clear(HttpServletRequest requestClient);
}
